//
//  TakePhto.h
//  YiqiMobile
//
//  Created by henry on 13-3-30.
//  Copyright (c) 2013年 henry. All rights reserved.
//


#import <Foundation/Foundation.h>

@protocol TakePhotoDelegate <NSObject>

@optional
-(void) didTakePicture:(NSData *) rawImage;
@end

@interface TakePhoto : NSObject<UINavigationControllerDelegate,UIImagePickerControllerDelegate>
@property(nonatomic,weak) id delegate;
@property(nonatomic,strong) UIImagePickerController *imagePickerController;
-(void)  setupCamera:(id) delegate;
-(void) setupLibrary:(id) delegate;
@end
